import { IsNotEmpty } from "class-validator";
export class CreateCodeSnippetDto {
    @IsNotEmpty({ message: '内容不能为空' })
    content: string

    @IsNotEmpty({ message: '描述不能为空' })
    desc: string
}